package com.mallplus.api.rbac.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Hanson
 * @date 2023/4/17 1:22
 */
@Data
public class ClearUserPermissionsCacheDTO {
    /**
     * 用户id
     */
    @NotNull(message = "userId not null")
    private Long userId;

    /**
     * 系统类型
     */
    @NotNull(message = "sysType not null")
    private Integer sysType;

    @Override
    public String toString() {
        return "ClearUserPermissionsCacheDTO{" +
                "userId=" + userId +
                ", sysType=" + sysType +
                '}';
    }
}
